enyo.kind({
    name: "MyApps.DemoDays",
    kind: enyo.VFlexBox,
    
    
    events: {
        onBack: "",
    },
    
    className: "whitebackground",
    
    components: [{
        name: "pane",
        kind: "Pane",
        flex: 1,
        transitionKind: "enyo.transitions.LeftRightFlyin",
        components: [{
            name: "aboutDemoDays",
            kind: "Scroller",
            flex: 1,
            components: [{
                kind: "VFlexBox",
                className: "demodaystop",
                components: [{
                    content: "Les journées démo",
                    className: "demodaystitle",
                }, {
                    content: "Des occasions exceptionnelles de tester en réel le matériel.",
                    className: "demodaystext",
                }, ]
            }, {
                kind: "VFlexBox",
                
                pack: "center",
                align: "center",
                className: "demodaysbottom",
                components: [{
                    kind: "Image",
                    src: "images/brands.png",
                
                }, ]
            }, 
			{
				kind:"Item",caption:"",
			},
			{
                flex: 1,
                kind: "MyApps.DemoDaysList",
                onBack: "goBack",
            }, ]
        }, ]
    }, ],
    
    
    goBack: function(inSender, inEvent){
        this.$.pane.back(inEvent);
    }
});
